package cn.lili.timetask.handler.impl.order;

import cn.lili.modules.member.client.CityDistributionClient;
import cn.lili.modules.system.client.IRegionClient;
import cn.lili.timetask.handler.EveryHourExecute;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * 初始化城主表, 将每个月的数据初始化
 * @author 32312
 */

@Component
@RequiredArgsConstructor
public class InitCityDistribution  implements EveryHourExecute {

    private final CityDistributionClient cityDistributionClient;

    @Override
    public void execute() {
        cityDistributionClient.initCityDistribution();
    }
}
